package com.eshop.modules.product.service.dto;

import java.util.Map;
import java.util.List;

public class DetailDto
{
    private List<String> data;
    private List<Map<String, Map<String, String>>> res;
    
    public List<String> getData() {
        return this.data;
    }
    
    public List<Map<String, Map<String, String>>> getRes() {
        return this.res;
    }
    
    public void setData(final List<String> data) {
        this.data = data;
    }
    
    public void setRes(final List<Map<String, Map<String, String>>> res) {
        this.res = res;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof DetailDto)) {
            return false;
        }
        final DetailDto other = (DetailDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$data = this.getData();
        final Object other$data = other.getData();
        Label_0065: {
            if (this$data == null) {
                if (other$data == null) {
                    break Label_0065;
                }
            }
            else if (this$data.equals(other$data)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$res = this.getRes();
        final Object other$res = other.getRes();
        if (this$res == null) {
            if (other$res == null) {
                return true;
            }
        }
        else if (this$res.equals(other$res)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof DetailDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $data = this.getData();
        result = result * 59 + (($data == null) ? 43 : $data.hashCode());
        final Object $res = this.getRes();
        result = result * 59 + (($res == null) ? 43 : $res.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "DetailDto(data=" + this.getData() + ", res=" + this.getRes() + ")";
    }
}
